package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.entity.Weibo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UpdateMapper {
    @Update("update weibo set content=#{content},created=#{created},user_id=#{userId} where id=#{id}" )
    int updateWeibo(Weibo weibo);
}
